package com.qsi.app.golf.model;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

public class Golfer {
	
	/** Logger for this class and subclasses */
    protected final Log logger = LogFactory.getLog(getClass());

    private int id;
    private String firstName;
    private String lastName;

    public void setId(int id) {
    	this.id = id;
    }
    
    public int getId() {
    	return this.id;
    }
    
    public void setFirstName(String firstName) {
        this.firstName = firstName;
        logger.debug("firstName set to " + firstName);
    }

    public String getFirstName() {
        return firstName;
    }
    
    public void setLastName(String lastName) {
        this.lastName = lastName;
        logger.debug("lastName set to " + lastName);
    }

    public String getLastName() {
        return lastName;
    }
}
